<!DOCTYPE html>
<html lang="zh-CN"><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/static/favicon.ico" type="image/x-icon"/>

    <title>后台管理系统</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/static/bootstrap/dashboard.css" rel="stylesheet">
    <link href="/static/bootstrap/site.min.css" rel="stylesheet">
    <link href="/static/admin/common/admin-common.css" rel="stylesheet">
    <script src="/static/jquery/jquery-1.11.2.min.js"></script>
    <script src="/static/js/tools.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    <script src="/static/layer/layer.js"></script>
    <script src="/static/mustache.js"></script>
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">后台管理系统</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav left">
                <?php foreach($nav_list as $key => $node){ if($node['display']){ ?>
                    <li class="<?php echo $node['active'];?>"><a href="<?php echo $node['nav_url'];?>"><?php echo $node['title'];?></a></li>
                <?php } } ?>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li ><a href="#">欢迎回来，<?php echo $user_info['nickname'] ? $user_info['nickname'] : $user_info['account']; ?></a></li>
                <li><a href="<?php echo $actions['logout_url'];?>">退出</a></li>
            </ul>
            <!--<form class="navbar-form navbar-right">-->
                <!--<input class="form-control" placeholder="Search..." type="text">-->
            <!--</form>-->
        </div>
    </div>
</nav>